gtk4.git
11 years agofile-chooser: move filter combo into extra area
William Jon McCann [Mon, 7 Apr 2014 19:57:19 +0000 (15:57 -0400)]
file-chooser: move filter combo into extra area

https://bugzilla.gnome.org/show_bug.cgi?id=722211

11 years agofile-chooser: move pathbar into preview pane
William Jon McCann [Mon, 7 Apr 2014 19:16:21 +0000 (15:16 -0400)]
file-chooser: move pathbar into preview pane

https://bugzilla.gnome.org/show_bug.cgi?id=722211

11 years agoplaces-sidebar: use separators instead of heading labels
William Jon McCann [Mon, 7 Apr 2014 19:00:01 +0000 (15:00 -0400)]
places-sidebar: use separators instead of heading labels

https://bugzilla.gnome.org/show_bug.cgi?id=722211

11 years agoGet rid of a stray character
Jason Ekstrand [Wed, 23 Apr 2014 02:17:55 +0000 (21:17 -0500)]
Get rid of a stray character

11 years agocsd: Fix drag hightlight drawing
Matthias Clasen [Wed, 23 Apr 2014 01:19:21 +0000 (21:19 -0400)]
csd: Fix drag hightlight drawing

When making the entire window a drop target, as file-roller does,
we don't want to draw the drag highlight around the CSD window
decorations.
https://bugzilla.gnome.org/show_bug.cgi?id=728526
 Please enter the commit message for your changes. Lines starting

11 years agoAllow defining an invisible resize area for GtkPaned's handle.
Victor Martinez [Sat, 12 Apr 2014 02:50:48 +0000 (20:50 -0600)]
Allow defining an invisible resize area for GtkPaned's handle.

This should allow theme developers to use a very small width for
the resize handle, but still let users easily move the handle by
defining a wider resize area.

The additional resize area follows the "margin" style property.

https://bugzilla.gnome.org/show_bug.cgi?id=728073

11 years agowayland: Map the window immediately on show
Jasper St. Pierre [Tue, 22 Apr 2014 23:16:48 +0000 (19:16 -0400)]
wayland: Map the window immediately on show

11 years agowayland: Remove useless hint set
Jasper St. Pierre [Tue, 22 Apr 2014 23:16:26 +0000 (19:16 -0400)]
wayland: Remove useless hint set

11 years agowayland: Remove VISIBILITY_NOTIFY event
Jasper St. Pierre [Tue, 22 Apr 2014 23:14:55 +0000 (19:14 -0400)]
wayland: Remove VISIBILITY_NOTIFY event

VISIBILITY_NOTIFY is already known to be unreliable.

11 years agogtk-demo: Make sure to clear the timeout when we stop it
Jasper St. Pierre [Sat, 12 Apr 2014 17:35:19 +0000 (10:35 -0700)]
gtk-demo: Make sure to clear the timeout when we stop it

11 years agoGtkScaleButton: Don't specify a icon size of zero
Matthias Clasen [Tue, 22 Apr 2014 22:34:35 +0000 (18:34 -0400)]
GtkScaleButton: Don't specify a icon size of zero

This only works for scalable icons, but breaks if we fall
back to pngs.

11 years agoFix the build
Matthias Clasen [Tue, 22 Apr 2014 15:08:17 +0000 (11:08 -0400)]
Fix the build

11 years agoAdd a style class to model buttons
Matthias Clasen [Tue, 22 Apr 2014 15:04:40 +0000 (11:04 -0400)]
Add a style class to model buttons

This will let us stop using the class name in Adwaita, and will
help with some future additions.

11 years agodocs: Fix parameter names for two functions
Volker Sobek [Mon, 21 Apr 2014 20:57:35 +0000 (22:57 +0200)]
docs: Fix parameter names for two functions

Don't use two different parameter names.

11 years agoFixed Russian translation
Yuri Myasoedov [Sun, 20 Apr 2014 11:18:10 +0000 (15:18 +0400)]
Fixed Russian translation

11 years agoUpdated German translation
Christian Kirbach [Sat, 19 Apr 2014 11:58:38 +0000 (11:58 +0000)]
Updated German translation

11 years agoAdded bindings support to GtkBuilder by introducing 3 new <property> attributes ...
Juan Pablo Ugarte [Fri, 11 Apr 2014 19:24:04 +0000 (16:24 -0300)]
Added bindings support to GtkBuilder by introducing 3 new <property> attributes "bind-source" to specify the source object of the binding "bind-property" to specify the source property and "bind-flags" to specify the binding flags (optional)

Binding an object sensitive property with a check button active property will look like this:

<object class="GtkButton" id="button">
  <property name="sensitive" bind-source="checkbutton" bind-property="active"/>
</object>

This is based on the original work done by Denis Washington for his GSoC project

This closes Bug 654417 "[GSoC] Add <binding> element to GtkBuilder syntax"

11 years agobroadway backend: allow building on OpenBSD
Antoine Jacoutot [Thu, 17 Apr 2014 22:59:45 +0000 (00:59 +0200)]
broadway backend: allow building on OpenBSD

On OpenBSD shm_open(3) is part of libc and there is not librt, so add an
according check.
Check if we have posix_fallocate before using it.

https://bugzilla.gnome.org/show_bug.cgi?id=728272

11 years agoexample: Update screenshots
Matthias Clasen [Thu, 17 Apr 2014 20:18:35 +0000 (13:18 -0700)]
example: Update screenshots

11 years agoexample: Use popover for gears menu
Matthias Clasen [Thu, 17 Apr 2014 19:43:17 +0000 (12:43 -0700)]
example: Use popover for gears menu

11 years agoexample: Make gears button square
Matthias Clasen [Thu, 17 Apr 2014 19:39:07 +0000 (12:39 -0700)]
example: Make gears button square

Another application of image-button.

11 years agoexample: Make search button square
Matthias Clasen [Thu, 17 Apr 2014 19:37:51 +0000 (12:37 -0700)]
example: Make search button square

The image-button style class takes care of it.

11 years agoexample: Modernize the prefs dialog
Matthias Clasen [Thu, 17 Apr 2014 19:18:01 +0000 (12:18 -0700)]
example: Modernize the prefs dialog

We should show the current best practice for this kind of
dialog, and use a headerbar with a window close button.

11 years agoexample: Port to gtk_application_set_accels_for_action
Matthias Clasen [Thu, 17 Apr 2014 18:36:33 +0000 (11:36 -0700)]
example: Port to gtk_application_set_accels_for_action

Instead of hardcoding an accelerator in the ui file, use
gtk_application_set_accels_for_action.

11 years agoexample: Fix indentation
Matthias Clasen [Thu, 17 Apr 2014 18:27:11 +0000 (11:27 -0700)]
example: Fix indentation

11 years agoexample: Fix up margins
Matthias Clasen [Thu, 17 Apr 2014 18:11:17 +0000 (11:11 -0700)]
example: Fix up margins

This makes the code match what we show in the screenshots. This
broke when headerbars were changed to allow titles to extend into
the margin.

11 years agoexample: Don't set a nonexisting property
Matthias Clasen [Thu, 17 Apr 2014 17:52:50 +0000 (10:52 -0700)]
example: Don't set a nonexisting property

The GtkHeaderBar::show-fallback-app-menu property does not exist,
and isn't needed anyway.

11 years agowayland: The xdg_surface.delete event was renamed to close
Jasper St. Pierre [Thu, 17 Apr 2014 17:14:44 +0000 (13:14 -0400)]
wayland: The xdg_surface.delete event was renamed to close

11 years agoW32: correctly guess max window size from the size of the workarea of the screen...
Руслан Ижбулатов [Thu, 10 Apr 2014 20:05:19 +0000 (20:05 +0000)]
W32: correctly guess max window size from the size of the workarea of the screen it's on

Get monitor on which the most of the window is located (nearest monitor if
window is not on screen), get its work area (area not occupied by taskbar or
any other bars) and use that for maxsize.

Previous default of 30000 meant that windows maximized onto full screen,
even covering the area where taskbar is.

https://bugzilla.gnome.org/show_bug.cgi?id=726592

11 years agoselection: mark targets param to gtk_target_list_new as allow-none
Evan Nemerson [Mon, 14 Apr 2014 09:26:51 +0000 (02:26 -0700)]
selection: mark targets param to gtk_target_list_new as allow-none

https://bugzilla.gnome.org/show_bug.cgi?id=728165

11 years agogtkapplication: Fix incorrect value passed to g_variant_new()
Bastien Nocera [Mon, 14 Apr 2014 14:40:20 +0000 (16:40 +0200)]
gtkapplication: Fix incorrect value passed to g_variant_new()

The code expected to format @u, not u.

https://bugzilla.gnome.org/show_bug.cgi?id=728140

11 years agoiconhelper: always ensure a stated pixbuf
Cosimo Cecchi [Sun, 4 Aug 2013 14:50:31 +0000 (16:50 +0200)]
iconhelper: always ensure a stated pixbuf

Even when we are set a pixbuf itself.

https://bugzilla.gnome.org/show_bug.cgi?id=726271

11 years agoGtkColorChooserWidget: Redraw swatches when selection changes
Marcus Karlsson [Sat, 12 Apr 2014 08:09:46 +0000 (10:09 +0200)]
GtkColorChooserWidget: Redraw swatches when selection changes

When selecting a swatch in a GtkColorChooserWidget the previously
selected swatch and the currently selected swatch are not redrawn. This
can leave the old swatch still marked with a checkbox even though a new
swatch has been selected.

Redraw the swatches after changing the selection.

https://bugzilla.gnome.org/show_bug.cgi?id=727487

11 years agodocs: fix GtkWidget::size-allocate description
Marcus Karlsson [Tue, 8 Apr 2014 20:40:01 +0000 (22:40 +0200)]
docs: fix GtkWidget::size-allocate description

The documentation for the GtkWidget::size-allocate signal is missing the
description of the "allocation" parameter. Add the missing description
to the parameter.

https://bugzilla.gnome.org/show_bug.cgi?id=726179

11 years agoGtkTextView: use GSlice to allocate GtkTextLineSegment's
Sébastien Wilmet [Fri, 11 Apr 2014 15:45:50 +0000 (17:45 +0200)]
GtkTextView: use GSlice to allocate GtkTextLineSegment's

Use GSlice to allocate all types of segments:
- char
- toggle
- mark
- pixbuf
- child widget

Char segments are a bit more complicated because the length of the text
is determined at run time and stored in the 'byte_count' field. If the
text is long, GSlice will call the system malloc() anyway, so it's
better to always use GSlice for GtkTextLineSegment.

Toggle segments are also freed in gtktextbtree.c, hence the function
_gtk_toggle_segment_free() (for a later commit it would be nice to
rename those functions with the _gtk_text prefix).

https://bugzilla.gnome.org/show_bug.cgi?id=727908

11 years agotextview: inline a function
Sébastien Wilmet [Wed, 9 Apr 2014 14:53:14 +0000 (16:53 +0200)]
textview: inline a function

gtk_text_view_move_cursor_internal() was exactly the same as
gtk_text_view_move_cursor(), and was called only in the latter function.

https://bugzilla.gnome.org/show_bug.cgi?id=727908

11 years agodoc: improve documentation of gtk_text_iter_inside_word()
Sébastien Wilmet [Tue, 8 Apr 2014 20:43:25 +0000 (22:43 +0200)]
doc: improve documentation of gtk_text_iter_inside_word()

There is a possible confusion with the sentence:
"@iter is inside a natural-language word"

The iter should be viewed here as the pointed character (i.e. on the
right of the iter), not as a position between two characters.

Instead of improving the documentation, another solution would have been
to change the implementation so it is interpreted as an iter position
inside a word, i.e. between two characters that are part of a
natural-language word. But maybe some applications rely on the current
implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=727908

11 years agotests textiter: test word boundaries
Sébastien Wilmet [Tue, 8 Apr 2014 19:36:45 +0000 (21:36 +0200)]
tests textiter: test word boundaries

- As the tests show, some of the functions have a strange and
inconsistent behavior for corner cases.

- Rename test_full_buffer() -> test_search_full_buffer() because
textiter.c is used for other GtkTextIter unit tests.

https://bugzilla.gnome.org/show_bug.cgi?id=727908

11 years agolistbox: Add tests for multi-selection
Matthias Clasen [Sun, 13 Apr 2014 21:03:12 +0000 (14:03 -0700)]
listbox: Add tests for multi-selection

This was forgotten when the multi-selection API was added,
and it was promptly broken in some places.

11 years agolist-box: Fix copy-paste error
Matthias Clasen [Sun, 13 Apr 2014 20:55:28 +0000 (13:55 -0700)]
list-box: Fix copy-paste error

The new function gtk_list_box_get_selected_rows was implemented
as gtk_list_box_get_selected_children.

11 years agolistbox: Emit ::row-selected as we used to
Matthias Clasen [Sun, 13 Apr 2014 20:51:49 +0000 (13:51 -0700)]
listbox: Emit ::row-selected as we used to

The listbox selection test was failing because we were not
emitting these signals anymore.

11 years agodocs: Add missing transfer annotation to GtkBox
Marcus Karlsson [Sat, 12 Apr 2014 18:22:15 +0000 (20:22 +0200)]
docs: Add missing transfer annotation to GtkBox

The gtk_box_get_center_widget function is missing a transfer annotation
for the returned widget. No transfer is done, so set transfer to none.

https://bugzilla.gnome.org/show_bug.cgi?id=728093

11 years agogtk-demo: Avoid a compiler warning
Matthias Clasen [Sun, 13 Apr 2014 05:13:40 +0000 (22:13 -0700)]
gtk-demo: Avoid a compiler warning

11 years agowidget-factory: Clean up on shutdown
Matthias Clasen [Sun, 13 Apr 2014 05:13:14 +0000 (22:13 -0700)]
widget-factory: Clean up on shutdown

11 years agowidget-factory: Remove unnecessary signal handlers
Matthias Clasen [Sun, 13 Apr 2014 05:12:38 +0000 (22:12 -0700)]
widget-factory: Remove unnecessary signal handlers

quitting the mainloop when none is running gives a critical
warning on shutdown.

11 years agowidget-factory: Add a listbox example
Matthias Clasen [Sun, 13 Apr 2014 04:45:30 +0000 (21:45 -0700)]
widget-factory: Add a listbox example

11 years agowidget-factory: Improve actionbar appearance
Matthias Clasen [Sun, 13 Apr 2014 04:09:03 +0000 (21:09 -0700)]
widget-factory: Improve actionbar appearance

We are using the actionbar in the middle of the window, which
is not really what it is designed for. To avoid the unfinished
appearance on the sides, move it into the frame that we have
around the stack below. This fixes the sides, but gives the top
a double stroke. Too bad.

11 years agowidget-factory: Avoid ugly resizing on map
Matthias Clasen [Sun, 13 Apr 2014 03:46:17 +0000 (20:46 -0700)]
widget-factory: Avoid ugly resizing on map

The text view is resizing several times after the window is mapped.
Not setting a hscrollbar-policy of never avoids that, and a
scrollbar still doesn't appear. Magic

11 years agogtk-demo: Fix images demo
Matthias Clasen [Sun, 13 Apr 2014 03:39:26 +0000 (20:39 -0700)]
gtk-demo: Fix images demo

The incremental loading was broken by GtkIconHelper - queuing a
redraw is no longer sufficient to cause GtkImage to redraw with
the new pixbuf contents.
Pointed out by Jasper St. Pierre.

11 years agogtk-demo: Fix the links example
Matthias Clasen [Sun, 13 Apr 2014 01:42:29 +0000 (18:42 -0700)]
gtk-demo: Fix the links example

The keynav dialog is transient to the example window; since the
example window is now modal, we need to make the keynav dialog
modal as well, so it can receive input.
Problem pointed out by Jasper St. Pierre.

11 years agoRemove gdk_synthesize_window_state from gdkinternals.h
Jasper St. Pierre [Sat, 12 Apr 2014 00:02:45 +0000 (17:02 -0700)]
Remove gdk_synthesize_window_state from gdkinternals.h

It's already in gdkprivate.h

11 years agowayland: set_transient_for was renamed to set_parent
Jasper St. Pierre [Fri, 11 Apr 2014 23:55:37 +0000 (16:55 -0700)]
wayland: set_transient_for was renamed to set_parent

11 years agowayland: Don't pass dx/dy when we're resizing
Jasper St. Pierre [Fri, 11 Apr 2014 23:53:05 +0000 (16:53 -0700)]
wayland: Don't pass dx/dy when we're resizing

They're ignored by the server.

11 years agowayland: Merge buffer implementations
Jasper St. Pierre [Sun, 23 Feb 2014 18:57:24 +0000 (13:57 -0500)]
wayland: Merge buffer implementations

11 years agowindow: Be more careful when propagating key events
Matthias Clasen [Sat, 5 Apr 2014 15:43:43 +0000 (11:43 -0400)]
window: Be more careful when propagating key events

We are keeping references on the widget we are handling as we
are iterating up, but that doesn't protect us against the entire
tree being axed from inside gtk_widget_handle_event.
https://bugzilla.gnome.org/show_bug.cgi?id=727644

11 years agoentry: consider ascent and descent when requesting height
Cosimo Cecchi [Fri, 11 Apr 2014 19:13:11 +0000 (12:13 -0700)]
entry: consider ascent and descent when requesting height

Commit d05191a010bcd9871b0155a785989192967c692b change the height
requisition to be completely dependent on the PangoLayout, but that
breaks when the font has special characters with different metrics.
Use the maximum between the two instead.

https://bugzilla.gnome.org/show_bug.cgi?id=728054

11 years agogtkapplication: Fix passing NULL as the window to inhibit
Bastien Nocera [Fri, 11 Apr 2014 08:53:45 +0000 (10:53 +0200)]
gtkapplication: Fix passing NULL as the window to inhibit

gtk_application_inhibit() supports passing NULL, so don't
blindly pass the NULL window to
gtk_application_impl_dbus_get_window_system_id().

https://bugzilla.gnome.org/show_bug.cgi?id=728023

11 years agoUpdate expected output for assistant a11y test
Matthias Clasen [Thu, 10 Apr 2014 22:50:51 +0000 (15:50 -0700)]
Update expected output for assistant a11y test

The headerbar and its content now shows up, as it should.

11 years agoGtkAssistant: don't hide headerbar from a11y
Matthias Clasen [Thu, 10 Apr 2014 21:22:46 +0000 (14:22 -0700)]
GtkAssistant: don't hide headerbar from a11y

GtkAssistant has its own accessible implementation, and we forgot
to update it when we added a headerbar.

11 years agoGtkMessageDialog: Allow action-area-border theming again
Matthias Clasen [Thu, 10 Apr 2014 20:51:33 +0000 (13:51 -0700)]
GtkMessageDialog: Allow action-area-border theming again

This border does not interfere with headerbar-vs-content placement,
and we can allow themes to change it without breaking dialogs.

11 years agoGtkDialog: fix up handling of style properties
Matthias Clasen [Thu, 10 Apr 2014 20:49:07 +0000 (13:49 -0700)]
GtkDialog: fix up handling of style properties

The use of border-width-set here was an attempt to differentiate
between explicitly set (from code / ui files) border width from
theme changes. But when we are calling gtk_window_set_border_width
to apply the theme value, the -set property gets set, and all
further theme changes are ignored. This has the effect of only
letting the default value of these properties get applied.

Fix this by unsetting border-width-set after applying theme values.

11 years agoRevert "W32: RGBA GDK backend (broken)"
Руслан Ижбулатов [Thu, 10 Apr 2014 17:59:48 +0000 (17:59 +0000)]
Revert "W32: RGBA GDK backend (broken)"

This reverts commit f89d38bc2d139ae1baab5c25e1d6ac451a2d5a5e.

Pushed by accident.

11 years agoRevert "W32: Add a basic set of CSD styles"
Руслан Ижбулатов [Thu, 10 Apr 2014 17:59:21 +0000 (17:59 +0000)]
Revert "W32: Add a basic set of CSD styles"

This reverts commit 6e3e0dcd739bcf7ef549cecc0aa5061c794e14bb.

Pushed by accident.

11 years agoRevert "W32: Implement composition check for GDK"
Руслан Ижбулатов [Thu, 10 Apr 2014 17:58:58 +0000 (17:58 +0000)]
Revert "W32: Implement composition check for GDK"

This reverts commit 7ae5a56948e5124eabd558438ff29187f5721819.

Pushed by accident.

11 years agoW32: remove border on default buttons
Руслан Ижбулатов [Thu, 10 Apr 2014 15:33:41 +0000 (15:33 +0000)]
W32: remove border on default buttons

https://bugzilla.gnome.org/show_bug.cgi?id=727973

11 years agoW32: Implement composition check for GDK
Руслан Ижбулатов [Thu, 10 Apr 2014 08:48:13 +0000 (08:48 +0000)]
W32: Implement composition check for GDK

Also move DWM function grabbing and make those functions available to all of GDK-Win32.

https://bugzilla.gnome.org/show_bug.cgi?id=727316

11 years agoW32: Add a basic set of CSD styles
Руслан Ижбулатов [Mon, 7 Apr 2014 04:39:40 +0000 (04:39 +0000)]
W32: Add a basic set of CSD styles

https://bugzilla.gnome.org/show_bug.cgi?id=727316

11 years agoW32: RGBA GDK backend (broken)
Руслан Ижбулатов [Sat, 29 Mar 2014 21:28:33 +0000 (21:28 +0000)]
W32: RGBA GDK backend (broken)

https://bugzilla.gnome.org/show_bug.cgi?id=727316

11 years agotests: Don't use deprecated functions in testselection
Benjamin Otte [Thu, 10 Apr 2014 15:06:27 +0000 (17:06 +0200)]
tests: Don't use deprecated functions in testselection

11 years agotests: Make testlockbutton not use deprecated API
Benjamin Otte [Thu, 10 Apr 2014 15:00:44 +0000 (17:00 +0200)]
tests: Make testlockbutton not use deprecated API

11 years agotestgtk: Don't use deprecated functions in selection test
Benjamin Otte [Thu, 10 Apr 2014 14:53:42 +0000 (16:53 +0200)]
testgtk: Don't use deprecated functions in selection test

11 years agotestgtk: Remove rc file test
Benjamin Otte [Thu, 10 Apr 2014 14:50:32 +0000 (16:50 +0200)]
testgtk: Remove rc file test

The test didn't work anymore since RC files stopped being used in 3.0.

11 years agotestgtk: Don't use deprecated functions in progress bar test
Benjamin Otte [Thu, 10 Apr 2014 14:48:13 +0000 (16:48 +0200)]
testgtk: Don't use deprecated functions in progress bar test

11 years agotestgtk: Don't use deprecated functions in event watcher test
Benjamin Otte [Thu, 10 Apr 2014 14:45:37 +0000 (16:45 +0200)]
testgtk: Don't use deprecated functions in event watcher test

11 years agotestgtk: Don't use deprecated functions in scrolled windows test
Benjamin Otte [Thu, 10 Apr 2014 14:42:59 +0000 (16:42 +0200)]
testgtk: Don't use deprecated functions in scrolled windows test

11 years agotestgtk: Don't use deprecated functions in dialogs test
Benjamin Otte [Thu, 10 Apr 2014 14:35:51 +0000 (16:35 +0200)]
testgtk: Don't use deprecated functions in dialogs test

11 years agotestgtk: Make dialogs example work without static variable
Benjamin Otte [Thu, 10 Apr 2014 14:16:41 +0000 (16:16 +0200)]
testgtk: Make dialogs example work without static variable

Makes it a bit more complicated, but meh.

11 years agotestgtk: Clean up dialog example
Benjamin Otte [Thu, 10 Apr 2014 14:07:05 +0000 (16:07 +0200)]
testgtk: Clean up dialog example

Don't pass a static variable to a callback, when the static variable
could just be deinfed in the callback.

11 years agotestgtk: Don't use deprecated functions in flipping test
Benjamin Otte [Thu, 10 Apr 2014 12:28:44 +0000 (14:28 +0200)]
testgtk: Don't use deprecated functions in flipping test

11 years agotestgtk: Don't use deprecated functions in scrolling test
Benjamin Otte [Thu, 10 Apr 2014 00:40:49 +0000 (02:40 +0200)]
testgtk: Don't use deprecated functions in scrolling test

11 years agotestgtk: Don't call deprecated function in mainloop test
Benjamin Otte [Thu, 10 Apr 2014 00:36:38 +0000 (02:36 +0200)]
testgtk: Don't call deprecated function in mainloop test

11 years agotests: Add deprecation guards
Benjamin Otte [Thu, 10 Apr 2014 00:29:54 +0000 (02:29 +0200)]
tests: Add deprecation guards

11 years agopixelcache: Add a warning for an invariant that shouldn't happen
Benjamin Otte [Wed, 9 Apr 2014 23:53:57 +0000 (01:53 +0200)]
pixelcache: Add a warning for an invariant that shouldn't happen

Pixel caches should be unmapped before being freed and unmapping clears
those variables.

11 years agotextview: Call map/unmap functions on pixel cache
Benjamin Otte [Wed, 9 Apr 2014 22:15:05 +0000 (00:15 +0200)]
textview: Call map/unmap functions on pixel cache

https://bugzilla.gnome.org/show_bug.cgi?id=726475

11 years agotreeview: Call map/unmap functions on pixel cache
Benjamin Otte [Wed, 9 Apr 2014 21:34:57 +0000 (23:34 +0200)]
treeview: Call map/unmap functions on pixel cache

https://bugzilla.gnome.org/show_bug.cgi?id=726475

11 years agoviewport: Call map/unmap functions on pixel cache
Benjamin Otte [Wed, 9 Apr 2014 21:34:40 +0000 (23:34 +0200)]
viewport: Call map/unmap functions on pixel cache

https://bugzilla.gnome.org/show_bug.cgi?id=726475

11 years agopixelcache: Add map/unmap functions
Benjamin Otte [Wed, 9 Apr 2014 21:31:21 +0000 (23:31 +0200)]
pixelcache: Add map/unmap functions

Because GTK does not invalidate windows that aren't mapped, we cannot
update the pixel cache when the window it handles isn't mapped. So we
add API to call when GDK windows get mapped/unmapped.

https://bugzilla.gnome.org/show_bug.cgi?id=726475

11 years agopixelcache: Split out a function
Benjamin Otte [Wed, 9 Apr 2014 21:28:50 +0000 (23:28 +0200)]
pixelcache: Split out a function

https://bugzilla.gnome.org/show_bug.cgi?id=726475

11 years agoVisual C++ Builds: Fix Header Installation
Chun-wei Fan [Wed, 9 Apr 2014 06:03:01 +0000 (14:03 +0800)]
Visual C++ Builds: Fix Header Installation

Make sure that gtk/a11y/gtkpopoveraccessible.h is copied, so that programs
using GTK+'s a11y will compile correctly.

11 years agoFixed Russian translation
Yuri Myasoedov [Tue, 8 Apr 2014 20:22:57 +0000 (00:22 +0400)]
Fixed Russian translation

11 years agolistbox: keep emitting ::row-selected
Matthias Clasen [Tue, 8 Apr 2014 03:17:56 +0000 (23:17 -0400)]
listbox: keep emitting ::row-selected

This was accidentally lost when multi-selection was added, causing
sidebars like the one in gnome-contacts or polari to not work any
more.

12 years agodoap: update URLs
Piotr Drąg [Sun, 6 Apr 2014 11:10:52 +0000 (13:10 +0200)]
doap: update URLs

12 years agoheaderbar: Use popover for the fallback app menu
Yosef Or Boczko [Sun, 9 Feb 2014 15:51:52 +0000 (17:51 +0200)]
headerbar: Use popover for the fallback app menu

https://bugzilla.gnome.org/show_bug.cgi?id=723963

12 years agoDeprecate gtk_application_add_accelerator
Matthias Clasen [Sun, 6 Apr 2014 06:13:06 +0000 (02:13 -0400)]
Deprecate gtk_application_add_accelerator

The new gtk_application_set_accels_for_action api is more flexible
and better.

12 years agoAdd new switch api to the docs
Matthias Clasen [Sun, 6 Apr 2014 05:52:24 +0000 (01:52 -0400)]
Add new switch api to the docs

12 years agoAdd a delayed state test case
Matthias Clasen [Sat, 29 Mar 2014 17:41:25 +0000 (13:41 -0400)]
Add a delayed state test case

This adds a switch with delayed state change to testswitch,
demonstrating the functionality that was added in the previous
commit.

12 years agoswitch: Add a delayed state capability
Matthias Clasen [Sat, 29 Mar 2014 17:40:08 +0000 (13:40 -0400)]
switch: Add a delayed state capability

This commit makes it possible for GtkSwitch to indicate when
the underlying state changes with a delay, causing the switch
to temporarily go 'out of sync' with the underlying change.

https://bugzilla.gnome.org/show_bug.cgi?id=725648

12 years agoAdd new listbox api to docs
Matthias Clasen [Sun, 6 Apr 2014 05:51:38 +0000 (01:51 -0400)]
Add new listbox api to docs

12 years agolist box: Avoid excessive signals
Matthias Clasen [Sat, 29 Mar 2014 05:03:06 +0000 (01:03 -0400)]
list box: Avoid excessive signals

We were emitting the a11y ::selection-changed signal much more
often than ::selected-rows-changed. Thats not necessary.

12 years agoImprove list selection example
Matthias Clasen [Sat, 29 Mar 2014 04:59:05 +0000 (00:59 -0400)]
Improve list selection example

Print out signals, so we see how often they are emitted.